package com.atguigu.study.bootredis.mapper;

import com.atguigu.study.bootredis.entity.QuestionAnly;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (QuestionAnly)表数据库访问层
 *
 * @author jiangta
 * @since 2020-12-14 13:40:33
 */
@org.apache.ibatis.annotations.Mapper
public interface QuestionAnlyMapper {

    /**
     * 新增数据
     *
     * @param questionAnly 实例对象
     * @return 影响行数
     */
    int insert(QuestionAnly questionAnly);

    /**
     * 新增数据
     *
     * @param questionAnlyList 实例对象
     * @return 影响行数
     */
    int insertBatch(@Param("questionList") List<QuestionAnly> questionAnlyList);

}